﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Admin.Models.BlackList
{
    public class BlackListViewModel
    {
        public int Id { get; set; }
        //[Display(Name = "就诊卡类型")]
        //public int? CardType { get; set; }
        [Display(Name = "就诊卡")]
        //0:诊疗卡 1：健康卡
        public string CardNo { get; set; }
        [Display(Name = "病人名称")]
        public string PatientName { get; set; }
        [Display(Name = "取消次数")]

        [DataType("number")]
        public int? CancelCount { get; set; }
        [Display(Name = "年")]
        [DataType("number")]
        public int? CancelYear { get; set; }
        [Display(Name = "月")]
        [DataType("number")]
        public int? CancelMonth { get; set; }
        [Display(Name = "身份证号")]
        public string IdenNo { get; set; }
        [Display(Name = "手机号码")]
        public string Phone { get; set; }

        [Display(Name = "就诊卡类型")]
        [UIHint("CardType")]
        public CardType CardType { get; set; }
    }

    public class CardType
    {
        public int Id { get; set; }

        public string Name { get; set; }
    }
}